from rest_framework import serializers
from users.models import User, Follow

class FollowerSerializer(serializers.ModelSerializer):
	class Meta:
		model = Follow
		fields = ('followers', 'followings')


class UserSerializer(serializers.ModelSerializer):
	class Meta:
		model = User
		fields = ('userId', 'user_name', 'first_name', 'last_name', 'dob', 'email', 'mobile', 'gender', 'fbuid', 'profile_image')
